import {EntityId, PageQueryParams} from "kf-web-library";
import {Article, Journal_Summary, JournalColumn_Summary, JournalPeriod_Summary} from '@/services';

export interface ChiefSelectedPageQueryParams extends Partial<PageQueryParams> {
  searchText?: string;
  ids?: EntityId[];
}

export interface ChiefSelected {
  id: EntityId;
  journal: Journal_Summary; //所属期刊
  column: JournalColumn_Summary; //文章栏目
  period: JournalPeriod_Summary; //期
  article: Article; //文章
  selectedReason: string; //入选理由
  createTime: string; //创建时间
  createUserId: number;
  modifyTime: string; //修改时间
  modifyUserId: number;
  deleted: number; //删除标记
}

export interface ChiefSelected_Create{
  articleId: string; //文章ID
  selectedReason: string; //入选理由
}

export interface ChiefSelected_Modify extends ChiefSelected_Create {
  id: EntityId;
}

export interface ChiefSelected_Patch extends Partial<ChiefSelected_Modify> {
  id: EntityId;
}


